package com.bing.bingPro.entity;


import cn.org.atool.fluent.mybatis.annotation.FluentMybatis;
import cn.org.atool.fluent.mybatis.annotation.TableId;
import cn.org.atool.fluent.mybatis.base.RichEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 提测状态表 实体类
 *
 * @author author
 * @email email
 * @since 2021-12-24 11:58:15
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@FluentMybatis(table = "test_status")
public class TestStatusEntity extends RichEntity {


    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 关联提测与结果表 id
     */
    private Long relatedId;

    /**
     * 阶段
     */
    private String stage;

    /**
     * 状态
     */
    private String status;

    /**
     * 时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date testTimestamp;

    /**
     * 测试意见
     */
    private String opinion;

    /**
     * 测试文件明细表路径
     */
    private String fileinfopath;

    /**
     * 年份
     */
    private String year;

    public TestStatusEntity() {
        super();
    }

    /**
     * 获取阶段
     */
    public String getYear() {
        return year;
    }

    /**
     * 设置阶段
     */
    public void setYear(String year) {
        this.year = year;
    }

    /**
     * 获取主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取关联主键
     */
    public Long getRelatedId() {
        return relatedId;
    }

    /**
     * 设置关联主键
     */
    public void setRelatedId(Long relatedId) {
        this.relatedId = relatedId;
    }

    /**
     * 获取阶段
     */
    public String getStage() {
        return stage;
    }

    /**
     * 设置阶段
     */
    public void setStage(String stage) {
        this.stage = stage;
    }

    /**
     * 获取状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取操作时间
     */
    public Date getTestTimestamp() {
        return testTimestamp;
    }

    /**
     * 设置操作时间
     */
    public void setTestTimestamp(Date testTimestamp) {
        this.testTimestamp = testTimestamp;
    }

    /**
     * 获取测试意见
     */
    public String getOpinion() {
        return opinion;
    }

    /**
     * 设置测试意见
     */
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    /**
     * 获取提测文件路径
     */
    public String getFileinfopath() {
        return fileinfopath;
    }

    /**
     * 设置提测文件路径
     */
    public void setFileinfopath(String fileinfopath) {
        this.fileinfopath = fileinfopath;
    }
}
